﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for TransferAZCP
/// Created By : CX
/// Created Date : Tuesday, May 03, 2011
/// </summary>
/// 
namespace CE.Transfer
{

    public class TransferAZCP
    {
        public TransferAZCP()
        {	//TODO: Add constructor logic here
            ClearFields();
        }

        private string _insured_type = String.Empty;
        private string _insured_title = String.Empty;
        private string _insured_title_text = String.Empty;
        private string _insured_fname = String.Empty;
        private string _insured_lname = String.Empty;
        private string _insured_company_prefix = String.Empty;
        private string _insured_company_name = String.Empty;
        private string _insured_company_suffix = String.Empty;
        private string _customer_name_text = String.Empty;
        private string _insured_address1 = String.Empty;
        private string _insured_address2 = String.Empty;
        private string _insured_address3 = String.Empty;
        private string _insured_address4 = String.Empty;
        private string _insured_address5 = String.Empty;
        private string _insured_amphor_code = String.Empty;
        private string _insured_province_code = String.Empty;
        private string _insured_post_code = String.Empty;
        private string _insured_contact_tel = String.Empty;
        private string _insured_business_tel = String.Empty;
        private string _insured_mobile_tel = String.Empty;
        private string _insured_fax = String.Empty;
        private string _insured_gender = String.Empty;
        private int _insured_occu = 0;
        private string _insured_id_card = String.Empty;
        private string _cnt_insured_name = String.Empty;
        private string _cnt_insured_address1 = String.Empty;
        private string _cnt_insured_address2 = String.Empty;
        private string _cnt_insured_address3 = String.Empty;
        private string _cnt_insured_address4 = String.Empty;
        private string _cnt_insured_amphor_code = String.Empty;
        private string _cnt_insured_province_code = String.Empty;
        private string _cnt_insured_post_code = String.Empty;
        private string _cnt_insured_contact_tel = String.Empty;
        private string _payer_type = String.Empty;
        private string _payer_title = String.Empty;
        private string _payer_title_text = String.Empty;
        private string _payer_fname = String.Empty;
        private string _payer_lname = String.Empty;
        private string _payer_company_prefix = String.Empty;
        private string _payer_company_name = String.Empty;
        private string _payer_company_suffix = String.Empty;
        private string _payer_address1 = String.Empty;
        private string _payer_address2 = String.Empty;
        private string _payer_address3 = String.Empty;
        private string _payer_address4 = String.Empty;
        private string _payer_address5 = String.Empty;
        private string _payer_amphor_code = String.Empty;
        private string _payer_province_code = String.Empty;
        private string _payer_post_code = String.Empty;
        private string _payer_contact_tel = String.Empty;
        private string _payer_business_tel = String.Empty;
        private string _payer_mobile_tel = String.Empty;
        private string _payer_fax = String.Empty;
        private string _payer_gender = String.Empty;
        private string _payer_id_card = String.Empty;
        private string _payer_creiditcard_no = String.Empty;
        private string _payer_creditcard_type = String.Empty;
        private string _credit_card_expiry_date = String.Empty;
        private string _credit_card_holder_name = String.Empty;
        private string _bene_type = String.Empty;
        private int _bene_code = 0;
        private string _bene_title = String.Empty;
        private string _bene_title_text = String.Empty;
        private string _bene_fname = String.Empty;
        private string _bene_lname = String.Empty;
        private string _bene_company_prefix = String.Empty;
        private string _bene_company_name = String.Empty;
        private string _bene_company_suffix = String.Empty;
        private string _bene_address1 = String.Empty;
        private string _bene_address2 = String.Empty;
        private string _bene_address3 = String.Empty;
        private string _bene_address4 = String.Empty;
        private string _bene_address5 = String.Empty;
        private string _bene_amphor_code = String.Empty;
        private string _bene_province_code = String.Empty;
        private string _bene_post_code = String.Empty;
        private string _bene_contact_tel = String.Empty;
        private string _bene_business_tel = String.Empty;
        private string _bene_mobile_tel = String.Empty;
        private string _bene_fax = String.Empty;
        private string _bene_gender = String.Empty;
        private string _drv1_title = String.Empty;
        private string _drv1_title_text = String.Empty;
        private string _drv1_fname = String.Empty;
        private string _drv1_lname = String.Empty;
        private string _drv1_address1 = String.Empty;
        private string _drv1_address2 = String.Empty;
        private string _drv1_address3 = String.Empty;
        private string _drv1_address4 = String.Empty;
        private string _drv1_address5 = String.Empty;
        private string _drv1_amphor_code = String.Empty;
        private string _drv1_province_code = String.Empty;
        private string _drv1_post_code = String.Empty;
        private string _drv1_contact_tel = String.Empty;
        private string _drv1_business_tel = String.Empty;
        private string _drv1_mobile_tel = String.Empty;
        private string _drv1_fax = String.Empty;
        private string _drv1_gender = String.Empty;
        private DateTime _drv1_birth_date = new DateTime();
        private string _drv1_licenseno = String.Empty;
        private DateTime _drv1_licenseexp_date = new DateTime();
        private string _drv1_id = String.Empty;
        private string _drv2_title = String.Empty;
        private string _drv2_title_text = String.Empty;
        private string _drv2_fname = String.Empty;
        private string _drv2_lname = String.Empty;
        private string _drv2_address1 = String.Empty;
        private string _drv2_address2 = String.Empty;
        private string _drv2_address3 = String.Empty;
        private string _drv2_address4 = String.Empty;
        private string _drv2_address5 = String.Empty;
        private string _drv2_amphor_code = String.Empty;
        private string _drv2_province_code = String.Empty;
        private string _drv2_post_code = String.Empty;
        private string _drv2_contact_tel = String.Empty;
        private string _drv2_business_tel = String.Empty;
        private string _drv2_mobile_tel = String.Empty;
        private string _drv2_fax = String.Empty;
        private string _drv2_gender = String.Empty;
        private DateTime _drv2_birth_date = new DateTime();
        private string _drv2_licenseno = String.Empty;
        private DateTime _drv2_licenseexp_date = new DateTime();
        private string _drv2_id = String.Empty;
        private DateTime _vmi_start_date = new DateTime();
        private DateTime _vmi_end_date = new DateTime();
        private string _vmi_calculate_flag = String.Empty;
        private string _vmivehtype = String.Empty;
        private int _brand_code = 0;
        private int _model_code = 0;
        private string _license_no = String.Empty;
        private int _license_province = 0;
        private string _engine_no = String.Empty;
        private string _chassis_no = String.Empty;
        private int _cc = 0;
        private int _no_of_seat = 0;
        private int _weight = 0;
        private int _model_year = 0;
        private int _body_code = 0;
        private string _cover_type = String.Empty;
        private string _package_code = String.Empty;
        private int _vmi_suminsured = 0;
        private int _od_deductible = 0;
        private int _tppd_deductible = 0;
        private int _collision_deductible = 0;
        private string _accessory_code1 = String.Empty;
        private string _accessory_remark1 = String.Empty;
        private decimal _accessory_sum1;
        private string _accessory_code2 = String.Empty;
        private string _accessory_remark2 = String.Empty;
        private decimal _accessory_sum2;
        private string _accessory_code3 = String.Empty;
        private string _accessory_remark3 = String.Empty;
        private decimal _accessory_sum3;
        private string _accessory_code4 = String.Empty;
        private string _accessory_remark4 = String.Empty;
        private decimal _accessory_sum4;
        private string _accessory_code5 = String.Empty;
        private string _accessory_remark5 = String.Empty;
        private decimal _accessory_sum5;
        private decimal _ncb_percent;
        private int _fleet_code = 0;
        private decimal _fleet_percent;
        private decimal _red_plate_discount;
        private string _direct_discount_group = String.Empty;
        private decimal _direct_discount_vmi_perc;
        private decimal _direct_discount_cmi_perc;
        private decimal _gps_amount;
        private string _cmivehtype = String.Empty;
        private DateTime _cmi_start_date = new DateTime();
        private DateTime _cmi_end_date = new DateTime();
        private decimal _vmi_premium;
        private decimal _vmi_stamp;
        private decimal _vmi_vat;
        private decimal _vmi_total;
        private decimal _cmi_premium;
        private decimal _cmi_stamp;
        private decimal _cmi_vat;
        private decimal _cmi_total;
        private string _intermediary_id = String.Empty;
        private string _user = String.Empty;
        private string _campaign_code = String.Empty;
        private string _campaign_sub_code = String.Empty;
        private string _cmi_policy_no = String.Empty;
        private string _vmi_policy_no = String.Empty;
        private string _business_unit_code = String.Empty;
        private string _billing_plan = String.Empty;
        private string _paymentmethod = String.Empty;
        private string _cmiyn = String.Empty;
        private string _vmiyn = String.Empty;
        private string _ao_member = String.Empty;
        private DateTime _success_date = new DateTime();
        private string _remarks = String.Empty;
        private string _refer_policy_no = String.Empty;
        private string _refer_insurance_company = String.Empty;
        private string _refer_check_claim_name = String.Empty;
        private string _branch_code = String.Empty;


        public string Insured_type
        {
            get { return _insured_type; }
            set { _insured_type = value; }
        }

        public string Insured_title
        {
            get { return _insured_title; }
            set { _insured_title = value; }
        }

        public string Insured_title_text
        {
            get { return _insured_title_text; }
            set { _insured_title_text = value; }
        }

        public string Insured_fname
        {
            get { return _insured_fname; }
            set { _insured_fname = value; }
        }

        public string Insured_lname
        {
            get { return _insured_lname; }
            set { _insured_lname = value; }
        }

        public string Insured_company_prefix
        {
            get { return _insured_company_prefix; }
            set { _insured_company_prefix = value; }
        }

        public string Insured_company_name
        {
            get { return _insured_company_name; }
            set { _insured_company_name = value; }
        }

        public string Insured_company_suffix
        {
            get { return _insured_company_suffix; }
            set { _insured_company_suffix = value; }
        }

        public string Customer_name_Text
        {
            get { return _customer_name_text; }
            set { _customer_name_text = value; }
        }

        public string Insured_Address1
        {
            get { return _insured_address1; }
            set { _insured_address1 = value; }
        }

        public string Insured_Address2
        {
            get { return _insured_address2; }
            set { _insured_address2 = value; }
        }

        public string Insured_Address3
        {
            get { return _insured_address3; }
            set { _insured_address3 = value; }
        }

        public string Insured_Address4
        {
            get { return _insured_address4; }
            set { _insured_address4 = value; }
        }

        public string Insured_Address5
        {
            get { return _insured_address5; }
            set { _insured_address5 = value; }
        }

        public string Insured_Amphor_code
        {
            get { return _insured_amphor_code; }
            set { _insured_amphor_code = value; }
        }

        public string Insured_Province_code
        {
            get { return _insured_province_code; }
            set { _insured_province_code = value; }
        }

        public string Insured_post_code
        {
            get { return _insured_post_code; }
            set { _insured_post_code = value; }
        }

        public string Insured_Contact_tel
        {
            get { return _insured_contact_tel; }
            set { _insured_contact_tel = value; }
        }

        public string Insured_business_tel
        {
            get { return _insured_business_tel; }
            set { _insured_business_tel = value; }
        }

        public string Insured_Mobile_tel
        {
            get { return _insured_mobile_tel; }
            set { _insured_mobile_tel = value; }
        }

        public string Insured_fax
        {
            get { return _insured_fax; }
            set { _insured_fax = value; }
        }

        public string Insured_gender
        {
            get { return _insured_gender; }
            set { _insured_gender = value; }
        }

        public int Insured_occu
        {
            get { return _insured_occu; }
            set { _insured_occu = value; }
        }

        public string Insured_id_card
        {
            get { return _insured_id_card; }
            set { _insured_id_card = value; }
        }

        public string Cnt_Insured_name
        {
            get { return _cnt_insured_name; }
            set { _cnt_insured_name = value; }
        }

        public string Cnt_Insured_Address1
        {
            get { return _cnt_insured_address1; }
            set { _cnt_insured_address1 = value; }
        }

        public string Cnt_Insured_Address2
        {
            get { return _cnt_insured_address2; }
            set { _cnt_insured_address2 = value; }
        }

        public string Cnt_Insured_Address3
        {
            get { return _cnt_insured_address3; }
            set { _cnt_insured_address3 = value; }
        }

        public string Cnt_Insured_Address4
        {
            get { return _cnt_insured_address4; }
            set { _cnt_insured_address4 = value; }
        }

        public string Cnt_Insured_Amphor_code
        {
            get { return _cnt_insured_amphor_code; }
            set { _cnt_insured_amphor_code = value; }
        }

        public string Cnt_Insured_Province_code
        {
            get { return _cnt_insured_province_code; }
            set { _cnt_insured_province_code = value; }
        }

        public string Cnt_Insured_post_code
        {
            get { return _cnt_insured_post_code; }
            set { _cnt_insured_post_code = value; }
        }

        public string Cnt_Insured_Contact_tel
        {
            get { return _cnt_insured_contact_tel; }
            set { _cnt_insured_contact_tel = value; }
        }

        public string Payer_type
        {
            get { return _payer_type; }
            set { _payer_type = value; }
        }

        public string Payer_title
        {
            get { return _payer_title; }
            set { _payer_title = value; }
        }

        public string Payer_title_text
        {
            get { return _payer_title_text; }
            set { _payer_title_text = value; }
        }

        public string Payer_fname
        {
            get { return _payer_fname; }
            set { _payer_fname = value; }
        }

        public string Payer_lname
        {
            get { return _payer_lname; }
            set { _payer_lname = value; }
        }

        public string Payer_company_prefix
        {
            get { return _payer_company_prefix; }
            set { _payer_company_prefix = value; }
        }

        public string Payer_company_name
        {
            get { return _payer_company_name; }
            set { _payer_company_name = value; }
        }

        public string Payer_company_suffix
        {
            get { return _payer_company_suffix; }
            set { _payer_company_suffix = value; }
        }

        public string Payer_Address1
        {
            get { return _payer_address1; }
            set { _payer_address1 = value; }
        }

        public string Payer_Address2
        {
            get { return _payer_address2; }
            set { _payer_address2 = value; }
        }

        public string Payer_Address3
        {
            get { return _payer_address3; }
            set { _payer_address3 = value; }
        }

        public string Payer_Address4
        {
            get { return _payer_address4; }
            set { _payer_address4 = value; }
        }

        public string Payer_Address5
        {
            get { return _payer_address5; }
            set { _payer_address5 = value; }
        }

        public string Payer_Amphor_code
        {
            get { return _payer_amphor_code; }
            set { _payer_amphor_code = value; }
        }

        public string Payer_Province_code
        {
            get { return _payer_province_code; }
            set { _payer_province_code = value; }
        }

        public string Payer_post_code
        {
            get { return _payer_post_code; }
            set { _payer_post_code = value; }
        }

        public string Payer_Contact_tel
        {
            get { return _payer_contact_tel; }
            set { _payer_contact_tel = value; }
        }

        public string Payer_business_tel
        {
            get { return _payer_business_tel; }
            set { _payer_business_tel = value; }
        }

        public string Payer_Mobile_tel
        {
            get { return _payer_mobile_tel; }
            set { _payer_mobile_tel = value; }
        }

        public string Payer_fax
        {
            get { return _payer_fax; }
            set { _payer_fax = value; }
        }

        public string Payer_gender
        {
            get { return _payer_gender; }
            set { _payer_gender = value; }
        }

        public string Payer_id_card
        {
            get { return _payer_id_card; }
            set { _payer_id_card = value; }
        }

        public string Payer_creiditCard_No
        {
            get { return _payer_creiditcard_no; }
            set { _payer_creiditcard_no = value; }
        }

        public string Payer_creditCard_type
        {
            get { return _payer_creditcard_type; }
            set { _payer_creditcard_type = value; }
        }

        public string Credit_card_expiry_date
        {
            get { return _credit_card_expiry_date; }
            set { _credit_card_expiry_date = value; }
        }

        public string Credit_card_Holder_Name
        {
            get { return _credit_card_holder_name; }
            set { _credit_card_holder_name = value; }
        }

        public string Bene_type
        {
            get { return _bene_type; }
            set { _bene_type = value; }
        }

        public int Bene_code
        {
            get { return _bene_code; }
            set { _bene_code = value; }
        }

        public string Bene_title
        {
            get { return _bene_title; }
            set { _bene_title = value; }
        }

        public string Bene_title_text
        {
            get { return _bene_title_text; }
            set { _bene_title_text = value; }
        }

        public string Bene_fname
        {
            get { return _bene_fname; }
            set { _bene_fname = value; }
        }

        public string Bene_lname
        {
            get { return _bene_lname; }
            set { _bene_lname = value; }
        }

        public string Bene_company_prefix
        {
            get { return _bene_company_prefix; }
            set { _bene_company_prefix = value; }
        }

        public string Bene_company_name
        {
            get { return _bene_company_name; }
            set { _bene_company_name = value; }
        }

        public string Bene_company_suffix
        {
            get { return _bene_company_suffix; }
            set { _bene_company_suffix = value; }
        }

        public string Bene_Address1
        {
            get { return _bene_address1; }
            set { _bene_address1 = value; }
        }

        public string Bene_Address2
        {
            get { return _bene_address2; }
            set { _bene_address2 = value; }
        }

        public string Bene_Address3
        {
            get { return _bene_address3; }
            set { _bene_address3 = value; }
        }

        public string Bene_Address4
        {
            get { return _bene_address4; }
            set { _bene_address4 = value; }
        }

        public string Bene_Address5
        {
            get { return _bene_address5; }
            set { _bene_address5 = value; }
        }

        public string Bene_Amphor_code
        {
            get { return _bene_amphor_code; }
            set { _bene_amphor_code = value; }
        }

        public string Bene_Province_code
        {
            get { return _bene_province_code; }
            set { _bene_province_code = value; }
        }

        public string Bene_post_code
        {
            get { return _bene_post_code; }
            set { _bene_post_code = value; }
        }

        public string Bene_Contact_tel
        {
            get { return _bene_contact_tel; }
            set { _bene_contact_tel = value; }
        }

        public string Bene_business_tel
        {
            get { return _bene_business_tel; }
            set { _bene_business_tel = value; }
        }

        public string Bene_Mobile_tel
        {
            get { return _bene_mobile_tel; }
            set { _bene_mobile_tel = value; }
        }

        public string Bene_fax
        {
            get { return _bene_fax; }
            set { _bene_fax = value; }
        }

        public string Bene_gender
        {
            get { return _bene_gender; }
            set { _bene_gender = value; }
        }

        public string Drv1_title
        {
            get { return _drv1_title; }
            set { _drv1_title = value; }
        }

        public string Drv1_title_text
        {
            get { return _drv1_title_text; }
            set { _drv1_title_text = value; }
        }

        public string Drv1_fname
        {
            get { return _drv1_fname; }
            set { _drv1_fname = value; }
        }

        public string Drv1_lname
        {
            get { return _drv1_lname; }
            set { _drv1_lname = value; }
        }

        public string Drv1_Address1
        {
            get { return _drv1_address1; }
            set { _drv1_address1 = value; }
        }

        public string Drv1_Address2
        {
            get { return _drv1_address2; }
            set { _drv1_address2 = value; }
        }

        public string Drv1_Address3
        {
            get { return _drv1_address3; }
            set { _drv1_address3 = value; }
        }

        public string Drv1_Address4
        {
            get { return _drv1_address4; }
            set { _drv1_address4 = value; }
        }

        public string Drv1_Address5
        {
            get { return _drv1_address5; }
            set { _drv1_address5 = value; }
        }

        public string Drv1_Amphor_code
        {
            get { return _drv1_amphor_code; }
            set { _drv1_amphor_code = value; }
        }

        public string Drv1_Province_code
        {
            get { return _drv1_province_code; }
            set { _drv1_province_code = value; }
        }

        public string Drv1_post_code
        {
            get { return _drv1_post_code; }
            set { _drv1_post_code = value; }
        }

        public string Drv1_Contact_tel
        {
            get { return _drv1_contact_tel; }
            set { _drv1_contact_tel = value; }
        }

        public string Drv1_business_tel
        {
            get { return _drv1_business_tel; }
            set { _drv1_business_tel = value; }
        }

        public string Drv1_Mobile_tel
        {
            get { return _drv1_mobile_tel; }
            set { _drv1_mobile_tel = value; }
        }

        public string Drv1_fax
        {
            get { return _drv1_fax; }
            set { _drv1_fax = value; }
        }

        public string Drv1_gender
        {
            get { return _drv1_gender; }
            set { _drv1_gender = value; }
        }

        public DateTime Drv1_birth_date
        {
            get { return _drv1_birth_date; }
            set { _drv1_birth_date = value; }
        }

        public string Drv1_licenseNo
        {
            get { return _drv1_licenseno; }
            set { _drv1_licenseno = value; }
        }

        public DateTime Drv1_LicenseExp_date
        {
            get { return _drv1_licenseexp_date; }
            set { _drv1_licenseexp_date = value; }
        }

        public string Drv1_id
        {
            get { return _drv1_id; }
            set { _drv1_id = value; }
        }

        public string Drv2_title
        {
            get { return _drv2_title; }
            set { _drv2_title = value; }
        }

        public string Drv2_title_text
        {
            get { return _drv2_title_text; }
            set { _drv2_title_text = value; }
        }

        public string Drv2_fname
        {
            get { return _drv2_fname; }
            set { _drv2_fname = value; }
        }

        public string Drv2_lname
        {
            get { return _drv2_lname; }
            set { _drv2_lname = value; }
        }

        public string Drv2_Address1
        {
            get { return _drv2_address1; }
            set { _drv2_address1 = value; }
        }

        public string Drv2_Address2
        {
            get { return _drv2_address2; }
            set { _drv2_address2 = value; }
        }

        public string Drv2_Address3
        {
            get { return _drv2_address3; }
            set { _drv2_address3 = value; }
        }

        public string Drv2_Address4
        {
            get { return _drv2_address4; }
            set { _drv2_address4 = value; }
        }

        public string Drv2_Address5
        {
            get { return _drv2_address5; }
            set { _drv2_address5 = value; }
        }

        public string Drv2_Amphor_code
        {
            get { return _drv2_amphor_code; }
            set { _drv2_amphor_code = value; }
        }

        public string Drv2_Province_code
        {
            get { return _drv2_province_code; }
            set { _drv2_province_code = value; }
        }

        public string Drv2_post_code
        {
            get { return _drv2_post_code; }
            set { _drv2_post_code = value; }
        }

        public string Drv2_Contact_tel
        {
            get { return _drv2_contact_tel; }
            set { _drv2_contact_tel = value; }
        }

        public string Drv2_business_tel
        {
            get { return _drv2_business_tel; }
            set { _drv2_business_tel = value; }
        }

        public string Drv2_Mobile_tel
        {
            get { return _drv2_mobile_tel; }
            set { _drv2_mobile_tel = value; }
        }

        public string Drv2_fax
        {
            get { return _drv2_fax; }
            set { _drv2_fax = value; }
        }

        public string Drv2_gender
        {
            get { return _drv2_gender; }
            set { _drv2_gender = value; }
        }

        public DateTime Drv2_birth_date
        {
            get { return _drv2_birth_date; }
            set { _drv2_birth_date = value; }
        }

        public string Drv2_licenseNo
        {
            get { return _drv2_licenseno; }
            set { _drv2_licenseno = value; }
        }

        public DateTime Drv2_LicenseExp_date
        {
            get { return _drv2_licenseexp_date; }
            set { _drv2_licenseexp_date = value; }
        }

        public string Drv2_id
        {
            get { return _drv2_id; }
            set { _drv2_id = value; }
        }

        public DateTime Vmi_start_date
        {
            get { return _vmi_start_date; }
            set { _vmi_start_date = value; }
        }

        public DateTime Vmi_end_date
        {
            get { return _vmi_end_date; }
            set { _vmi_end_date = value; }
        }

        public string Vmi_calculate_flag
        {
            get { return _vmi_calculate_flag; }
            set { _vmi_calculate_flag = value; }
        }

        public string VmiVehType
        {
            get { return _vmivehtype; }
            set { _vmivehtype = value; }
        }

        public int Brand_code
        {
            get { return _brand_code; }
            set { _brand_code = value; }
        }

        public int Model_code
        {
            get { return _model_code; }
            set { _model_code = value; }
        }

        public string License_no
        {
            get { return _license_no; }
            set { _license_no = value; }
        }

        public int License_province
        {
            get { return _license_province; }
            set { _license_province = value; }
        }

        public string Engine_no
        {
            get { return _engine_no; }
            set { _engine_no = value; }
        }

        public string Chassis_no
        {
            get { return _chassis_no; }
            set { _chassis_no = value; }
        }

        public int CC
        {
            get { return _cc; }
            set { _cc = value; }
        }

        public int No_of_Seat
        {
            get { return _no_of_seat; }
            set { _no_of_seat = value; }
        }

        public int Weight
        {
            get { return _weight; }
            set { _weight = value; }
        }

        public int Model_year
        {
            get { return _model_year; }
            set { _model_year = value; }
        }

        public int Body_code
        {
            get { return _body_code; }
            set { _body_code = value; }
        }

        public string Cover_type
        {
            get { return _cover_type; }
            set { _cover_type = value; }
        }

        public string Package_code
        {
            get { return _package_code; }
            set { _package_code = value; }
        }

        public int Vmi_Suminsured
        {
            get { return _vmi_suminsured; }
            set { _vmi_suminsured = value; }
        }

        public int OD_DEDUCTIBLE
        {
            get { return _od_deductible; }
            set { _od_deductible = value; }
        }

        public int TPPD_DEDUCTIBLE
        {
            get { return _tppd_deductible; }
            set { _tppd_deductible = value; }
        }

        public int COLLISION_DEDUCTIBLE
        {
            get { return _collision_deductible; }
            set { _collision_deductible = value; }
        }

        public string Accessory_code1
        {
            get { return _accessory_code1; }
            set { _accessory_code1 = value; }
        }

        public string Accessory_Remark1
        {
            get { return _accessory_remark1; }
            set { _accessory_remark1 = value; }
        }

        public decimal Accessory_Sum1
        {
            get { return _accessory_sum1; }
            set { _accessory_sum1 = value; }
        }

        public string Accessory_code2
        {
            get { return _accessory_code2; }
            set { _accessory_code2 = value; }
        }

        public string Accessory_Remark2
        {
            get { return _accessory_remark2; }
            set { _accessory_remark2 = value; }
        }

        public decimal Accessory_Sum2
        {
            get { return _accessory_sum2; }
            set { _accessory_sum2 = value; }
        }

        public string Accessory_code3
        {
            get { return _accessory_code3; }
            set { _accessory_code3 = value; }
        }

        public string Accessory_Remark3
        {
            get { return _accessory_remark3; }
            set { _accessory_remark3 = value; }
        }

        public decimal Accessory_Sum3
        {
            get { return _accessory_sum3; }
            set { _accessory_sum3 = value; }
        }

        public string Accessory_code4
        {
            get { return _accessory_code4; }
            set { _accessory_code4 = value; }
        }

        public string Accessory_Remark4
        {
            get { return _accessory_remark4; }
            set { _accessory_remark4 = value; }
        }

        public decimal Accessory_Sum4
        {
            get { return _accessory_sum4; }
            set { _accessory_sum4 = value; }
        }

        public string Accessory_code5
        {
            get { return _accessory_code5; }
            set { _accessory_code5 = value; }
        }

        public string Accessory_Remark5
        {
            get { return _accessory_remark5; }
            set { _accessory_remark5 = value; }
        }

        public decimal Accessory_Sum5
        {
            get { return _accessory_sum5; }
            set { _accessory_sum5 = value; }
        }

        public decimal NCB_Percent
        {
            get { return _ncb_percent; }
            set { _ncb_percent = value; }
        }

        public int Fleet_Code
        {
            get { return _fleet_code; }
            set { _fleet_code = value; }
        }

        public decimal Fleet_Percent
        {
            get { return _fleet_percent; }
            set { _fleet_percent = value; }
        }

        public decimal Red_plate_discount
        {
            get { return _red_plate_discount; }
            set { _red_plate_discount = value; }
        }

        public string DIRECT_DISCOUNT_GROUP
        {
            get { return _direct_discount_group; }
            set { _direct_discount_group = value; }
        }

        public decimal DIRECT_DISCOUNT_VMI_PERC
        {
            get { return _direct_discount_vmi_perc; }
            set { _direct_discount_vmi_perc = value; }
        }

        public decimal DIRECT_DISCOUNT_CMI_PERC
        {
            get { return _direct_discount_cmi_perc; }
            set { _direct_discount_cmi_perc = value; }
        }

        public decimal GPS_Amount
        {
            get { return _gps_amount; }
            set { _gps_amount = value; }
        }

        public string CmiVehType
        {
            get { return _cmivehtype; }
            set { _cmivehtype = value; }
        }

        public DateTime Cmi_start_date
        {
            get { return _cmi_start_date; }
            set { _cmi_start_date = value; }
        }

        public DateTime Cmi_End_date
        {
            get { return _cmi_end_date; }
            set { _cmi_end_date = value; }
        }

        public decimal Vmi_Premium
        {
            get { return _vmi_premium; }
            set { _vmi_premium = value; }
        }

        public decimal Vmi_stamp
        {
            get { return _vmi_stamp; }
            set { _vmi_stamp = value; }
        }

        public decimal Vmi_vat
        {
            get { return _vmi_vat; }
            set { _vmi_vat = value; }
        }

        public decimal Vmi_total
        {
            get { return _vmi_total; }
            set { _vmi_total = value; }
        }

        public decimal Cmi_Premium
        {
            get { return _cmi_premium; }
            set { _cmi_premium = value; }
        }

        public decimal Cmi_stamp
        {
            get { return _cmi_stamp; }
            set { _cmi_stamp = value; }
        }

        public decimal Cmi_vat
        {
            get { return _cmi_vat; }
            set { _cmi_vat = value; }
        }

        public decimal Cmi_total
        {
            get { return _cmi_total; }
            set { _cmi_total = value; }
        }

        public string Intermediary_id
        {
            get { return _intermediary_id; }
            set { _intermediary_id = value; }
        }

        public string User
        {
            get { return _user; }
            set { _user = value; }
        }

        public string Campaign_code
        {
            get { return _campaign_code; }
            set { _campaign_code = value; }
        }

        public string Campaign_sub_code
        {
            get { return _campaign_sub_code; }
            set { _campaign_sub_code = value; }
        }

        public string Cmi_Policy_no
        {
            get { return _cmi_policy_no; }
            set { _cmi_policy_no = value; }
        }

        public string Vmi_Policy_no
        {
            get { return _vmi_policy_no; }
            set { _vmi_policy_no = value; }
        }

        public string Business_unit_code
        {
            get { return _business_unit_code; }
            set { _business_unit_code = value; }
        }

        public string Billing_plan
        {
            get { return _billing_plan; }
            set { _billing_plan = value; }
        }

        public string Paymentmethod
        {
            get { return _paymentmethod; }
            set { _paymentmethod = value; }
        }

        public string CMIYN
        {
            get { return _cmiyn; }
            set { _cmiyn = value; }
        }

        public string VMIYN
        {
            get { return _vmiyn; }
            set { _vmiyn = value; }
        }

        public string AO_MEMBER
        {
            get { return _ao_member; }
            set { _ao_member = value; }
        }

        public DateTime Success_date
        {
            get { return _success_date; }
            set { _success_date = value; }
        }

        public string Remarks
        {
            get { return _remarks; }
            set { _remarks = value; }
        }

        public string Refer_Policy_No
        {
            get { return _refer_policy_no; }
            set { _refer_policy_no = value; }
        }

        public string Refer_Insurance_company
        {
            get { return _refer_insurance_company; }
            set { _refer_insurance_company = value; }
        }

        public string Refer_check_claim_name
        {
            get { return _refer_check_claim_name; }
            set { _refer_check_claim_name = value; }
        }

        public string BRANCH_CODE
        {
            get { return _branch_code; }
            set { _branch_code = value; }
        }


        private void ClearFields()
		{
			_insured_type = String.Empty;
			_insured_title = String.Empty;
			_insured_title_text = String.Empty;
			_insured_fname = String.Empty;
			_insured_lname = String.Empty;
			_insured_company_prefix = String.Empty;
			_insured_company_name = String.Empty;
			_insured_company_suffix = String.Empty;
			_customer_name_text = String.Empty;
			_insured_address1 = String.Empty;
			_insured_address2 = String.Empty;
			_insured_address3 = String.Empty;
			_insured_address4 = String.Empty;
			_insured_address5 = String.Empty;
			_insured_amphor_code = String.Empty;
			_insured_province_code = String.Empty;
			_insured_post_code = String.Empty;
			_insured_contact_tel = String.Empty;
			_insured_business_tel = String.Empty;
			_insured_mobile_tel = String.Empty;
			_insured_fax = String.Empty;
			_insured_gender = String.Empty;
			_insured_occu = 0;
			_insured_id_card = String.Empty;
			_cnt_insured_name = String.Empty;
			_cnt_insured_address1 = String.Empty;
			_cnt_insured_address2 = String.Empty;
			_cnt_insured_address3 = String.Empty;
			_cnt_insured_address4 = String.Empty;
			_cnt_insured_amphor_code = String.Empty;
			_cnt_insured_province_code = String.Empty;
			_cnt_insured_post_code = String.Empty;
			_cnt_insured_contact_tel = String.Empty;
			_payer_type = String.Empty;
			_payer_title = String.Empty;
			_payer_title_text = String.Empty;
			_payer_fname = String.Empty;
			_payer_lname = String.Empty;
			_payer_company_prefix = String.Empty;
			_payer_company_name = String.Empty;
			_payer_company_suffix = String.Empty;
			_payer_address1 = String.Empty;
			_payer_address2 = String.Empty;
			_payer_address3 = String.Empty;
			_payer_address4 = String.Empty;
			_payer_address5 = String.Empty;
			_payer_amphor_code = String.Empty;
			_payer_province_code = String.Empty;
			_payer_post_code = String.Empty;
			_payer_contact_tel = String.Empty;
			_payer_business_tel = String.Empty;
			_payer_mobile_tel = String.Empty;
			_payer_fax = String.Empty;
			_payer_gender = String.Empty;
			_payer_id_card = String.Empty;
			_payer_creiditcard_no = String.Empty;
			_payer_creditcard_type = String.Empty;
			_credit_card_expiry_date = String.Empty;
			_credit_card_holder_name = String.Empty;
			_bene_type = String.Empty;
			_bene_code = 0;
			_bene_title = String.Empty;
			_bene_title_text = String.Empty;
			_bene_fname = String.Empty;
			_bene_lname = String.Empty;
			_bene_company_prefix = String.Empty;
			_bene_company_name = String.Empty;
			_bene_company_suffix = String.Empty;
			_bene_address1 = String.Empty;
			_bene_address2 = String.Empty;
			_bene_address3 = String.Empty;
			_bene_address4 = String.Empty;
			_bene_address5 = String.Empty;
			_bene_amphor_code = String.Empty;
			_bene_province_code = String.Empty;
			_bene_post_code = String.Empty;
			_bene_contact_tel = String.Empty;
			_bene_business_tel = String.Empty;
			_bene_mobile_tel = String.Empty;
			_bene_fax = String.Empty;
			_bene_gender = String.Empty;
			_drv1_title = String.Empty;
			_drv1_title_text = String.Empty;
			_drv1_fname = String.Empty;
			_drv1_lname = String.Empty;
			_drv1_address1 = String.Empty;
			_drv1_address2 = String.Empty;
			_drv1_address3 = String.Empty;
			_drv1_address4 = String.Empty;
			_drv1_address5 = String.Empty;
			_drv1_amphor_code = String.Empty;
			_drv1_province_code = String.Empty;
			_drv1_post_code = String.Empty;
			_drv1_contact_tel = String.Empty;
			_drv1_business_tel = String.Empty;
			_drv1_mobile_tel = String.Empty;
			_drv1_fax = String.Empty;
			_drv1_gender = String.Empty;
			_drv1_birth_date = new DateTime();
			_drv1_licenseno = String.Empty;
			_drv1_licenseexp_date = new DateTime();
			_drv1_id = String.Empty;
			_drv2_title = String.Empty;
			_drv2_title_text = String.Empty;
			_drv2_fname = String.Empty;
			_drv2_lname = String.Empty;
			_drv2_address1 = String.Empty;
			_drv2_address2 = String.Empty;
			_drv2_address3 = String.Empty;
			_drv2_address4 = String.Empty;
			_drv2_address5 = String.Empty;
			_drv2_amphor_code = String.Empty;
			_drv2_province_code = String.Empty;
			_drv2_post_code = String.Empty;
			_drv2_contact_tel = String.Empty;
			_drv2_business_tel = String.Empty;
			_drv2_mobile_tel = String.Empty;
			_drv2_fax = String.Empty;
			_drv2_gender = String.Empty;
			_drv2_birth_date = new DateTime();
			_drv2_licenseno = String.Empty;
			_drv2_licenseexp_date = new DateTime();
			_drv2_id = String.Empty;
			_vmi_start_date = new DateTime();
			_vmi_end_date = new DateTime();
			_vmi_calculate_flag = String.Empty;
			_vmivehtype = String.Empty;
			_brand_code = 0;
			_model_code = 0;
			_license_no = String.Empty;
			_license_province = 0;
			_engine_no = String.Empty;
			_chassis_no = String.Empty;
			_cc = 0;
			_no_of_seat = 0;
			_weight = 0;
			_model_year = 0;
			_body_code = 0;
			_cover_type = String.Empty;
			_package_code = String.Empty;
			_vmi_suminsured = 0;
			_od_deductible = 0;
			_tppd_deductible = 0;
			_collision_deductible = 0;
			_accessory_code1 = String.Empty;
			_accessory_remark1 = String.Empty;
			_accessory_sum1 = 0;
			_accessory_code2 = String.Empty;
			_accessory_remark2 = String.Empty;
			_accessory_sum2 = 0;
			_accessory_code3 = String.Empty;
			_accessory_remark3 = String.Empty;
			_accessory_sum3 = 0;
			_accessory_code4 = String.Empty;
			_accessory_remark4 = String.Empty;
			_accessory_sum4 = 0;
			_accessory_code5 = String.Empty;
			_accessory_remark5 = String.Empty;
			_accessory_sum5 = 0;
			_ncb_percent = 0;
			_fleet_code = 0;
			_fleet_percent = 0;
			_red_plate_discount = 0;
			_direct_discount_group = String.Empty;
			_direct_discount_vmi_perc = 0;
			_direct_discount_cmi_perc = 0;
			_gps_amount = 0;
			_cmivehtype = String.Empty;
			_cmi_start_date = new DateTime();
			_cmi_end_date = new DateTime();
			_vmi_premium = 0;
			_vmi_stamp = 0;
			_vmi_vat = 0;
			_vmi_total = 0;
			_cmi_premium = 0;
			_cmi_stamp = 0;
			_cmi_vat = 0;
			_cmi_total = 0;
			_intermediary_id = String.Empty;
			_user = String.Empty;
			_campaign_code = String.Empty;
			_campaign_sub_code = String.Empty;
			_cmi_policy_no = String.Empty;
			_vmi_policy_no = String.Empty;
			_business_unit_code = String.Empty;
			_billing_plan = String.Empty;
			_paymentmethod = String.Empty;
			_cmiyn = String.Empty;
			_vmiyn = String.Empty;
			_ao_member = String.Empty;
			_success_date = new DateTime();
			_remarks = String.Empty;
			_refer_policy_no = String.Empty;
			_refer_insurance_company = String.Empty;
			_refer_check_claim_name = String.Empty;
			_branch_code = String.Empty;
		}
    }
}



